.detailPage {
  padding-bottom: 20px;
}

.loadingContainer, .errorContainer {
  text-align: center;
  padding: 40px 0;
}

.errorContainer {
  color: #ff3141;
}

.header {
  padding: 16px;
}

.title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.authorInfo {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

.authorMeta {
  flex: 1;
}

.nickname {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.date {
  font-size: 12px;
  color: #999;
}

.location {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
}

.imageGallery {
  margin-bottom: 16px;
}

.swiperItem {
  height: 240px;
}

.travelImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imageFallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #999;
}

.content {
  padding: 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.content p {
  margin-bottom: 16px;
}

/* 视频相关样式 */
.videoContainer {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 16px;
  background-color: #000;
}

.videoCover {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.videoCoverImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.videoPlayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.videoPlayer.active {
  display: flex;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.videoCloseBtn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  z-index: 1001;
}

/* 小窗播放 */
.miniPlayer {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 150px;
  height: 84px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
}

.miniPlayerActive .miniPlayer {
  display: block;
}

.miniVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.miniPlayerClose {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* 分享模态框样式 */
.shareModal {
  padding: 16px;
}

.shareTitle {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}

.sharePlatforms {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
}

.sharePlatform {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.platformIcon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.platformName {
  font-size: 12px;
  color: #666;
}

.cancelButton {
  margin-top: 16px;
}